import { Component, OnInit } from '@angular/core';

import * as Parse from "parse"
(Parse as any).serverURL = "http://metapunk.cn:9999/parse"
Parse.initialize("dev")

@Component({
  selector: 'app-page-active',
  templateUrl: './page-active.component.html',
  styleUrls: ['./page-active.component.css'],
})

export class PageActiveComponent implements OnInit {
  ngOnInit(): void {
    this.getUser();
  }
  async getUser() {
    let query = new Parse.Query("swt_user");
    this.userList = await query.find();
  }
  userList: any = [
  ]
}
